<#assign module="sys"/>

<@override name="header">
</@override>
<@override name="body">

	<div class="row">
		<div class="col-md-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					添加历史版本信息
			    </div>
			    <div class="panel-body">
    				<form id="submit_form" action="${ctx}/appversion/addUpdateInfo" class="form-horizontal" method="post">
		                <div class="form-group">
		                    <label class="col-sm-3 control-label">设备：</label>
		                    <div class="col-sm-1">
		                    	<select id="appType" name="appType"  class="form-control"> 
		                    		<option value='1'>安卓司机端</option>
		                    		<option value='2'>安卓客户端</option>
		                    		<option value='3'>ios司机端</option>
		                    		<option value='4'>ios客户端</option>
		                    	</select>
		                    </div>
		                </div>
		                
		                <div class="form-group">
		                    <label class="col-sm-3 control-label"><em>*</em>版本号：</label>
		                    <div class="col-sm-3">
		                    	<input class="form-control" id="version" name="version"  type="text" required/>
		                    </div>
		                </div>
		                
		                <div class="form-group">
		                    <label class="col-sm-3 control-label"><em>*</em>上线时间：</label>
		                    <div class="col-sm-3">
		                    	<input class="form-control" id="onlineTime" name="onlineTime"  type="date" required/>
		                    </div>
		                </div>
		                
		                <div class="form-group">
                            <label class="col-sm-3 control-label"><em>*</em>应用大小(KB)：</label>
                            <div class="col-sm-3">
								<input class="form-control" id="size" name="size"  type="number" min="0" required/>
                            </div>
                        </div>
                        
                        <div class="form-group">
		                    <label class="col-sm-3 control-label"><em>*</em>MD5校验值：</label>
		                    <div class="col-sm-3">
		                    	<input class="form-control" id="md5Code" name="md5Code"  type="text" requiredrequired/>
		                    </div>
		                </div>
		                
		                <div class="form-group">
		                    <label class="col-sm-3 control-label"><em>*</em>服务器接入信息 ：</label>
		                    <div class="col-sm-3">
		                    	<input class="form-control" id="serverInfo" name="serverInfo"  type="text" required/>
		                    </div>
		                </div>
		                
		                <div class="form-group">
		                    <label class="col-sm-3 control-label"><em>*</em>用途及功能：</label>
		                    <div class="col-sm-3">
		                    	<textarea class="form-control" cols="20" rows="10" id="instructions" name="instructions" rows="2" required></textarea>
		                    </div>
		                </div>
		                
		                <div class="form-group" style="margin-left:10px;">
			                <label class="col-sm-3 control-label"></label>
			                <input id="submit_button" type="submit" class="btn btn-primary" value="添加">
			                <input type="button" class="btn btn-default" onclick="window.history.go(-1);" value="返回">
			            </div>
					</form>
        		</div>
			</div>
		</div>
	</div>

</@override>
<@override name="footer">
<script type="text/javascript">
	$(document).ready(function(){
		
	
	});
</script>
</@override>
<@extends name="../layout.ftl"/>